package com.ysxsoft.wdg.ui.activity.shopcart;

import android.content.Context;
import android.content.Intent;
import android.support.v4.app.FragmentTransaction;
import com.ysxsoft.wdg.R;
import com.ysxsoft.wdg.base.BaseActivity;


public class ShopcartActivity extends BaseActivity {

    public static void start(Context context){
        Intent intent = new Intent(context, ShopcartActivity.class);
        context.startActivity(intent);
    }


    @Override
    protected int getLayoutId() {
        return R.layout.activity_shopcart;
    }

    @Override
    protected void initData() {
        ShopcartFragment shopcarFragment_n =  new ShopcartFragment();
        FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
        transaction.add(R.id.ll_fragment,shopcarFragment_n ,null).commit();
    }


    @Override
    protected void setListener() {

    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
    }


}
